package com.ecoolex.ying.space.core.mapper;

import com.ecoolex.framework.common.annotation.Description;
import com.ecoolex.ying.space.entity.DesignerProjectShare;
import com.ecoolex.ying.space.entity.DesignerProjectShareExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;
import org.springframework.lang.NonNull;

public interface DesignerProjectShareMapper {
    long countByExample(DesignerProjectShareExample example);

    int deleteByExample(DesignerProjectShareExample example);

    int deleteByPrimaryKey(Integer projectId);

    int insert(DesignerProjectShare record);

    int insertSelective(@Param("record") DesignerProjectShare record, @Param("selective") DesignerProjectShare.Column ... selective);

    DesignerProjectShare selectOneByExample(DesignerProjectShareExample example);

    List<DesignerProjectShare> selectByExample(DesignerProjectShareExample example);

    DesignerProjectShare selectByPrimaryKey(Integer projectId);

    DesignerProjectShare selectByPrimaryKeyWithLogicalDelete(@Param("projectId") Integer projectId, @Param("andLogicalDeleted") boolean andLogicalDeleted);

    int updateByExampleSelective(@Param("record") DesignerProjectShare record, @Param("example") DesignerProjectShareExample example, @Param("selective") DesignerProjectShare.Column ... selective);

    int updateByExample(@Param("record") DesignerProjectShare record, @Param("example") DesignerProjectShareExample example);

    int updateByPrimaryKeySelective(@Param("record") DesignerProjectShare record, @Param("selective") DesignerProjectShare.Column ... selective);

    int updateByPrimaryKey(DesignerProjectShare record);

    int batchInsert(@Param("list") List<DesignerProjectShare> list);

    int batchInsertSelective(@Param("list") List<DesignerProjectShare> list, @Param("selective") DesignerProjectShare.Column ... selective);

    int logicalDeleteByExample(@Param("example") DesignerProjectShareExample example);

    int logicalDeleteByPrimaryKey(Integer projectId);
}